package com.weibo.demos.web.Service.impl;

import com.weibo.demos.web.Mapper.WeiboMapper;
import com.weibo.demos.web.Service.WeiboService;
import com.weibo.demos.web.entity.WeiboVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;


@Service
public class WeiboServiceImpl implements WeiboService {
    @Autowired
    private WeiboMapper weiboMapper;

    @Override
    public List<WeiboVO> selectIndex() {
        return weiboMapper.selectIndex();
    }
}
